﻿package lobby.events
{
	import flash.events.Event;
	import flash.filters.GradientGlowFilter;
	
	/**
	 * ...
	 * @author Doan Nguyen Thuy Nha Truc (Bamboo)
	 */
	public class LobbyEvent extends Event
	{
		public static const HASHTABLE_COMPLETE:String = "hashtable_complete";
		public static const CALL_LOGIN:String = "call_login";
		public static const BACK_FORM_LOGIN:String = "back_form_login";
		public static const CHANGE_LANG_LOGIN:String = "change_lang_login";
		public static const ACCEPT_AGRE:String = "accept_agre";
		public static const NOT_ACCEPT_AGRE:String = "not_accept_agre";
		public static const SET_SESSION_TOKEN:String = "set_session_token";
		public static const SET_TABLE_LIST_BY_ACCOUNT:String = "set_table_list_by_account";
		public static const MOVIE_LOADED:String = "movie_loaded";
		public static const LOAD_XML_COMPLETE:String = "load_xml_complete";
		public static const UPDATE_BET_STATUS:String = "update_bet_status";
		public static const UPDATE_HISTORY_DATE:String = "update_history_date";
		public static const UPDATE_HISTORY:String = "update_history";
		public static const SELECTION_CHANGED:String = "selection_changed";
		public static const SHOW_ERR_DATE_NULL:String = "show_err_date_null";
		public static const GET_HISTORY:String = "get_history";
		public static const SHOW_ERR_CHOOSE_DATE:String = "show_err_choose_date";
		public static const UPDATE_DATE_FROM:String = "update_date_from";
		public static const UPDATE_DATE_TO:String = "update_date_to";
		public static const GET_RECENT_BET:String = "get_recent_bet";
		public static const FAILED_LOGIN:String = "failed_login";
		public static const REJECTED_LOGIN:String = "rejected_login";
		public static const SET_ERROR_MESSAGE:String = "set_error_message";
		public static const REQUIRE_USERID_PASSWORD:String = "require_userid_password";
		public static const SET_MENU_GAME:String = "setmenu";
		public static const SHOW_MS:String = "show_ms";
		public static const CHANGE_PASS:String = "change_pass";
		public static const UPDATE_HISTORY_ROUTE:String = "update_history_route";
		public static const INIT_HISTORY_COMPLETE:String = "init_history_complete";
		public static const UPDATE_DATE_REPORT:String = "update_date_report";
		public static const UPDATE_TRANSACTION_REPORT:String = "update_transaction_report";
		public static const UPDATE_DETAIL_TRANSACTION_REPORT:String = "update_detail_transaction_report";
		public static const GET_TRANSACTION_REPORT:String = "get_transaction_report";
		public static const UPDATE_DATE_TO_TRANSACTION:String = "update_date_to_transaction";
		public static const UPDATE_DATE_FROM_TRANSACTION:String = "update_date_from_transaction";
		public static const GET_TRANSACTION_DETAIL:String = "get_transaction_detail";
		public static const UPDATE_REPORT_DATE:String = "";
		public static const SET_TRANSACTION_REPORT:String = "set_transaction_report";
		public static const SET_TRANSACTION_REPORT_DETAIL:String = "set_transaction_report_detail";
		public static const SET_HISTORY:String = "set_history";
		
		public static const UPDATE_HISTORY_VIEW:String = "update_history_view";
		public static const UPDATE_BALANCE:String = "update_balance";
		public static const INVALID_TOKEN:String = "invalid_token";
		
		public static const SET_RESULT_MEMBER_INFO:String = "set_result_member_info";
		public static const SET_RESULT_MEMBER_LIMIT:String = "set_result_member_limit";
		public static const UPDATE_WELCOME_MESSAGE:String = "update_welcome_message";
		public static const UPDATE_WELCOME_MESSAGE_INFO:String = "update_welcome_message_info";
		public static const OPEN_SELECTED_TABLE:String = "open_selected_table";
		public static const GET_LIST_GAME:String = "list game";
		public static const GET_DETAIL_GAME:String = "get detail game";
		public static const CALL_SHOW_LOG:String = "call_show_log";
		public static const CALL_SHOW_CAMERA:String = "call_show_camera";
		public static const CALL_FULL_SCREEN:String = "call_full_screen";
		public static const GET_CURRENCY_ICON:String = "get currency icon";
		public static const UPDATE_WELCOME_MASSAGE:String = "update_welcome_massage";
		public static const DIALOG_RESULT_OK:String = "dialog_result_ok";
		public static const UPDATE_TRANSFER_REPORT:String = "update transfer";
		public static const SET_HOTLINE_MSG:String = "set_hotline_msg";
		public static const DELETE_HISTORY:String = "delete_history";
		public var ms:String;
		public var result:String;
		public var tableId:String;
		public var dataHis:Array;
		public var gameType:String;
		public var casinoID:String;
		
		public function LobbyEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
		}
		
		public override function clone():Event
		{
			return new LobbyEvent(type, bubbles, cancelable);
		}
		
		public override function toString():String
		{
			return formatToString("LobbyEvent", "type", "bubbles", "cancelable", "eventPhase");
		}
	
	}

}